#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll arr[999999];
int main()
{
  ll ret=0;
  ll count=0;
  ll n=2021041820210418;
  for(ll i=1;i*i<=n;++i)
  {
    if(n%i==0)
    {
      arr[count++]=i;
      if(n/i!=i)
      {
        arr[count++]=n/i;
      }
    }
  }
  for(ll a=0;a<count;++a)
  {
    for(ll b=0;b<count;++b)
    {
      for(ll c=0;c<count;++c)
      {
        if(arr[a]*arr[b]*arr[c]==n)
        {
          ret++;
        }
      }
    }
  }
  cout<<ret;
  return 0;
}
